import { C_Book } from "../../graphql";
import { MinLength } from "class-validator"  //类型校验

export class CreateBookDto extends C_Book {
   @MinLength(2)
   name: string;
}
